FROM  registry.steam.crcloud.com/docker/nginx:v7
LABEL maintainer xieguohua8@crc.com.hk
COPY pullConfig.sh /etc/nginx
RUN  ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
COPY nginx.conf /etc/nginx/nginx.conf
COPY  dist /etc/nginx/html/sassp-web-v2
COPY  dist /etc/nginx/html/sassp-web-v2/home
COPY  dist /etc/nginx/html/sassp-web-v2/supervision-report
COPY  dist /etc/nginx/html/sassp-web-v2/SZYD
COPY  dist /etc/nginx/html/sassp-web-v2/third-party-report
COPY  dist /etc/nginx/html/sassp-web-v2/expert-score
RUN chmod +x /etc/nginx/pullConfig.sh
EXPOSE 80 443
CMD ["/etc/nginx/pullConfig.sh","nginx", "-g", "daemon off;"]
